import defineConfig from "@xiaohe01/eslint-config";

export default {
  markdown: false,
  ignores: ["src/custom-tab-bar", "src/uni_modules"],
  rules: {
    "import/extensions": [
      "error",
      "ignorePackages",
      {
        ts: "never", // 允许 TypeScript 文件不带扩展名
        js: "never" // 允许 JavaScript 文件不带扩展名
      }
    ]
  }
};